package com.neuedu.nep.model;

import java.io.Serializable;

/**
 * statistic
 * @author 
 */
public class Statistic implements Serializable {
    /**
     * 统计信息编号
     */
    private Integer id;

    /**
     * 所属省区域编号
     */
    private Integer provinceId;

    /**
     * 所属市区域编号
     */
    private Integer cityId;

    /**
     * 反馈信息所在区域详细地址
     */
    private String address;

    /**
     * 空气二氧化硫浓度值（单位：μg/m3）
     */
    private Integer so2Value;

    /**
     * 空气二氧化硫指数级别
     */
    private Integer so2Level;

    /**
     * 空气一氧化碳浓度值（单位：μg/m3）
     */
    private Integer coValue;

    /**
     * 空气一氧化碳指数级别
     */
    private Integer coLevel;

    /**
     * 空气悬浮颗粒物浓度值（单位：μg/m3）
     */
    private Integer spmValue;

    /**
     * 空气PM2.5指数级别
     */
    private Integer spmLevel;

    /**
     * 空气质量指数级别
     */
    private Integer aqiId;

    /**
     * 确认日期
     */
    private String confirmDate;

    /**
     * 确认时间
     */
    private String confirmTime;

    /**
     * 所属网格员编号
     */
    private Integer gmId;

    /**
     * 反馈者编号（公众监督员电话号码）
     */
    private String fdId;

    /**
     * 反馈信息描述
     */
    private String information;

    /**
     * 备注
     */
    private String remarks;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getSo2Value() {
        return so2Value;
    }

    public void setSo2Value(Integer so2Value) {
        this.so2Value = so2Value;
    }

    public Integer getSo2Level() {
        return so2Level;
    }

    public void setSo2Level(Integer so2Level) {
        this.so2Level = so2Level;
    }

    public Integer getCoValue() {
        return coValue;
    }

    public void setCoValue(Integer coValue) {
        this.coValue = coValue;
    }

    public Integer getCoLevel() {
        return coLevel;
    }

    public void setCoLevel(Integer coLevel) {
        this.coLevel = coLevel;
    }

    public Integer getSpmValue() {
        return spmValue;
    }

    public void setSpmValue(Integer spmValue) {
        this.spmValue = spmValue;
    }

    public Integer getSpmLevel() {
        return spmLevel;
    }

    public void setSpmLevel(Integer spmLevel) {
        this.spmLevel = spmLevel;
    }

    public Integer getAqiId() {
        return aqiId;
    }

    public void setAqiId(Integer aqiId) {
        this.aqiId = aqiId;
    }

    public String getConfirmDate() {
        return confirmDate;
    }

    public void setConfirmDate(String confirmDate) {
        this.confirmDate = confirmDate;
    }

    public String getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(String confirmTime) {
        this.confirmTime = confirmTime;
    }

    public Integer getGmId() {
        return gmId;
    }

    public void setGmId(Integer gmId) {
        this.gmId = gmId;
    }

    public String getFdId() {
        return fdId;
    }

    public void setFdId(String fdId) {
        this.fdId = fdId;
    }

    public String getInformation() {
        return information;
    }

    public void setInformation(String information) {
        this.information = information;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Statistic other = (Statistic) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getProvinceId() == null ? other.getProvinceId() == null : this.getProvinceId().equals(other.getProvinceId()))
            && (this.getCityId() == null ? other.getCityId() == null : this.getCityId().equals(other.getCityId()))
            && (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress()))
            && (this.getSo2Value() == null ? other.getSo2Value() == null : this.getSo2Value().equals(other.getSo2Value()))
            && (this.getSo2Level() == null ? other.getSo2Level() == null : this.getSo2Level().equals(other.getSo2Level()))
            && (this.getCoValue() == null ? other.getCoValue() == null : this.getCoValue().equals(other.getCoValue()))
            && (this.getCoLevel() == null ? other.getCoLevel() == null : this.getCoLevel().equals(other.getCoLevel()))
            && (this.getSpmValue() == null ? other.getSpmValue() == null : this.getSpmValue().equals(other.getSpmValue()))
            && (this.getSpmLevel() == null ? other.getSpmLevel() == null : this.getSpmLevel().equals(other.getSpmLevel()))
            && (this.getAqiId() == null ? other.getAqiId() == null : this.getAqiId().equals(other.getAqiId()))
            && (this.getConfirmDate() == null ? other.getConfirmDate() == null : this.getConfirmDate().equals(other.getConfirmDate()))
            && (this.getConfirmTime() == null ? other.getConfirmTime() == null : this.getConfirmTime().equals(other.getConfirmTime()))
            && (this.getGmId() == null ? other.getGmId() == null : this.getGmId().equals(other.getGmId()))
            && (this.getFdId() == null ? other.getFdId() == null : this.getFdId().equals(other.getFdId()))
            && (this.getInformation() == null ? other.getInformation() == null : this.getInformation().equals(other.getInformation()))
            && (this.getRemarks() == null ? other.getRemarks() == null : this.getRemarks().equals(other.getRemarks()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getProvinceId() == null) ? 0 : getProvinceId().hashCode());
        result = prime * result + ((getCityId() == null) ? 0 : getCityId().hashCode());
        result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode());
        result = prime * result + ((getSo2Value() == null) ? 0 : getSo2Value().hashCode());
        result = prime * result + ((getSo2Level() == null) ? 0 : getSo2Level().hashCode());
        result = prime * result + ((getCoValue() == null) ? 0 : getCoValue().hashCode());
        result = prime * result + ((getCoLevel() == null) ? 0 : getCoLevel().hashCode());
        result = prime * result + ((getSpmValue() == null) ? 0 : getSpmValue().hashCode());
        result = prime * result + ((getSpmLevel() == null) ? 0 : getSpmLevel().hashCode());
        result = prime * result + ((getAqiId() == null) ? 0 : getAqiId().hashCode());
        result = prime * result + ((getConfirmDate() == null) ? 0 : getConfirmDate().hashCode());
        result = prime * result + ((getConfirmTime() == null) ? 0 : getConfirmTime().hashCode());
        result = prime * result + ((getGmId() == null) ? 0 : getGmId().hashCode());
        result = prime * result + ((getFdId() == null) ? 0 : getFdId().hashCode());
        result = prime * result + ((getInformation() == null) ? 0 : getInformation().hashCode());
        result = prime * result + ((getRemarks() == null) ? 0 : getRemarks().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", provinceId=").append(provinceId);
        sb.append(", cityId=").append(cityId);
        sb.append(", address=").append(address);
        sb.append(", so2Value=").append(so2Value);
        sb.append(", so2Level=").append(so2Level);
        sb.append(", coValue=").append(coValue);
        sb.append(", coLevel=").append(coLevel);
        sb.append(", spmValue=").append(spmValue);
        sb.append(", spmLevel=").append(spmLevel);
        sb.append(", aqiId=").append(aqiId);
        sb.append(", confirmDate=").append(confirmDate);
        sb.append(", confirmTime=").append(confirmTime);
        sb.append(", gmId=").append(gmId);
        sb.append(", fdId=").append(fdId);
        sb.append(", information=").append(information);
        sb.append(", remarks=").append(remarks);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}